package com.lanchetech.dao;
import com.lanchetech.bean.request.PageReq;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.lanchetech.entity.Brand;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BrandMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Brand record);

    int insertSelective(Brand record);

    Brand selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Brand record);

    int updateByPrimaryKey(Brand record);

    List<Brand> findAllPage(PageReq req);

    List<Brand> findAll();

    List<Brand> findAllByIds(@Param("ids")List<Long> ids);



}